Systems, methods, and media for defending computing systems from attack

ABSTRACT

Mechanisms for defending a computing system from attack are provided. The mechanisms include: maintaining a round counter that tracks a round number for a local host; determining a location in a graph for each of a plurality of hosts including the local host; determining monitor hosts of the plurality of hosts that are monitoring the local host; determining monitoree hosts of the plurality of hosts that are being monitored by the local host; sending a message to each of the monitor hosts identifying a value of the round counter; forwarding a first set of heartbeat messages from previous monitoree hosts to the monitor hosts; attempting to receive messages from the monitoree hosts; determining whether any messages were not received from the monitoree hosts; and in response to determining that one or more messages were not received from the monitoree hosts, generating an alert.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 16/365,268, filed Mar. 26, 2019, which claims the benefit of U.S. Provisional Patent Application No. 62/648,290, filed Mar. 26, 2018, each of which is hereby incorporated by reference herein in its entirety.

STATEMENT REGARDING GOVERNMENT FUNDED RESEARCH

This invention was made with government support under FA9550-12-1-0162 awarded by the United States Air Force/Air Force Office of Scientific Research and N00014-17-1-2010 awarded by the Office of Naval Research. The government has certain rights in the invention.

BACKGROUND

Given the near impossibility of removing all vulnerabilities from computing systems, intrusion detection systems are a vital line of defense. However, these systems themselves can also have vulnerabilities. An attacker could exploit those vulnerabilities to leave the defended system exposed, or even turn the privileges of the defense against the resources that it was supposed to protect. Therefore, intrusion detection systems themselves also need to be defended.

Accordingly, new mechanisms for defending computing systems from attack are desirable.

SUMMARY

In accordance with some embodiments, systems, methods, and media for defending computing systems from attack are provided. In some embodiments, systems for defending computing systems from attack are provided, the systems comprising: a memory; and a hardware processor coupled to the memory and configured to execute a local host that is configured to: maintain a round counter that tracks a round number; determine a location in a graph for each of a plurality of hosts including the local host; determine monitor hosts of the plurality of hosts that are monitoring the local host; determine monitoree hosts of the plurality of hosts that are being monitored by the local host; send a message to each of the monitor hosts identifying a value of the round counter; forward a first set of heartbeat messages from previous monitoree hosts to the monitor hosts; attempt to receive messages from the monitoree hosts; determine whether any messages were not received from the monitoree hosts; and in response to determining that one or more messages were not received from the monitoree hosts, generate an alert.

In some embodiments, methods for defending a computing system from attack are provided, the methods comprising: maintaining a round counter that tracks a round number for a local host using a hardware processor; determining a location in a graph for each of a plurality of hosts including the local host using the hardware processor; determining monitor hosts of the plurality of hosts that are monitoring the local host using the hardware processor; determining monitoree hosts of the plurality of hosts that are being monitored by the local host using the hardware processor; sending a message to each of the monitor hosts identifying a value of the round counter using the hardware processor; forwarding a first set of heartbeat messages from previous monitoree hosts to the monitor hosts using the hardware processor; attempting to receive messages from the monitoree hosts using the hardware processor; determining whether any messages were not received from the monitoree hosts using the hardware processor; and in response to determining that one or more messages were not received from the monitoree hosts, generating an alert using the hardware processor.

In some embodiments, non-transitory computer-readable media containing computer-executable instructions that, when executed by a processor, cause the processor to perform a method for defending a computing system from attack are provided, the method comprising: maintaining a round counter that tracks a round number for a local host; determining a location in a graph for each of a plurality of hosts including the local host; determining monitor hosts of the plurality of hosts that are monitoring the local host; determining monitoree hosts of the plurality of hosts that are being monitored by the local host; sending a message to each of the monitor hosts identifying a value of the round counter; forwarding a first set of heartbeat messages from previous monitoree hosts to the monitor hosts; attempting to receive messages from the monitoree hosts; determining whether any messages were not received from the monitoree hosts; and in response to determining that one or more messages were not received from the monitoree hosts, generating an alert.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example of a network of components that can be used in accordance with some embodiments.

FIG. 2 is a block diagram of an example of more detailed hardware that can be used to implement certain components of FIG. 1 in accordance with some embodiments.

FIG. 3 is a flow diagram of an example of a process for monitoring hosts in accordance with some embodiments.

FIG. 4 is an illustration of an example of a directed graph that can be used in accordance with some embodiments.

DETAILED DESCRIPTION

Mechanisms (including systems, methods, and media) for defending computing systems from attack are provided. In some embodiments, these mechanisms operate by assigning each of a plurality of hosts to a vertex in a directed graph. The hosts can be any suitable device, virtual machine, application, process, etc. that operates to detect and alert others to an attack on any of the hosts (i.e., to act as an IDS), thereby allowing countermeasures to respond to the attack in some embodiments. In some embodiments, a host can launch one or more child applications that the host can monitor to determine if the child application(s) stop. The directed graph defines monitoring relationships among the hosts. For example, if a vertex in the graph has an edge that points from the vertex to another vertex, the vertex is to monitor the other vertex. As another example, if a vertex in the graph has an edge that points to the vertex from another vertex, the vertex is to be monitored by the other vertex.

During operation, each host can track a round (or interval) during which certain messages are to be exchanged by the hosts. For example, each host can send a signed message with its round number to hosts that are monitoring the host. As another example, each host can send a heartbeat message to the hosts that are monitoring the host. As yet another example, each host can forward heartbeat messages received from hosts that it monitors to the hosts that are monitoring the host. If any host determines that any messages are invalid or missing, the host can generate an alert indicating an attack. This alert can be transmitted to any suitable hosts and/or other devices, applications, processes, etc.

When certain conditions are met, the hosts can update the positions in the graph occupied by each of the hosts. In some embodiments, the conditions can be that a round number is divisible by a diameter of the graph. The positions can be updated based on a pseudo-random function in some embodiments. In some embodiments, this pseudo-random function can use a shared key, the round counter, and identifiers for each of the hosts to determine the locations of the host in the graph. In some embodiments, each of the hosts can independently determine the locations of the host in the graph using the shared key, the round counter, and identifiers for each of the hosts. This way, the locations of the hosts in the graph are only known by the hosts.

Turning to FIG. 1 , an example of system hardware 100 that can be used in some embodiments is illustrated. As shown, system hardware 100 can include one or more attacker devices 102, a plurality of host devices 112, a communication network 110, communication links 108, and/or any other suitable components.

Hardware 100 can have any suitable scale in some embodiments. For example, in a small-scale implementation, each of the components shown in FIG. 1 can reside inside a user's home. As another example, in a medium-scale implementation, each of the components shown in FIG. 1 can reside inside an enterprise (which can span multiple locations). As yet another example, in a large-scale implementation, the components shown in FIG. 1 can reside anywhere on the Earth.

Attacker devices 102 can be any suitable devices from which to mount an attack on one or more systems protected by host devices 112. Although one attacker device is shown in FIG. 1 , it should be apparent that any suitable number of attacker devices can be present. Although an attacker device is shown herein as being part of system 100, it should be apparent that attacker devices are undesirable and that a system implemented in accordance with some embodiments may have no attacker devices. Although an attacker device may be thought of as being inside a network of components as shown, this presence may virtual and the attacker device may actually be outside the network but connected to the network in such a way as to present a threat to one or more components of the network.

Communication network 110 can be any suitable computer network such as the Internet, an intranet, a wide-area network (“WAN”), a local-area network (“LAN”), a wireless network, a digital subscriber line (“DSL”) network, a frame relay network, an asynchronous transfer mode (“ATM”) network, a virtual private network (“VPN”), a satellite network, a mobile phone network, a mobile data network, a cable network, a telephone network, a fiber optic network, and/or any other suitable communication network, or any combination of any of such networks.

In some embodiments, attacker devices 102 and host devices 112 can be connected to communication network 110 through communication links 108. In some embodiments, communication links 108 can be any suitable communication links, such as network links, dial-up links, wireless links, hard-wired links, any other suitable communication links, or a combination of such links.

In some embodiments, communication network 110 and communication links 108 can be omitted when not needed.

Host devices 112 can be any suitable devices, virtual machines, applications, processes, etc. for protecting systems (not shown) from computer intrusions by one or more attacker devices. For example, a host device can be, can be part of, or can be attached to a firewall that is protecting a computer network of a business, a school, a home, a community, or any other suitable thing. As another example, a host device can be, can be part of, or can be attached to an endpoint device, such as a desktop computer, a laptop computer, a tablet computer, a smart phone, a smart appliance, an Internet of Things (IoT) device (e.g., a camera, a smart lock, a smart thermostat, a smart fire alarm, a home automation hub, and/or any other suitable IoT device), a set-top box, a streaming media device, a gaming device, a smart television, and/or any other suitable device that is vulnerable to attack and that has the ability to perform some or all of the functions described herein.

Each of devices 102 and 112 can include and/or be any of a general-purpose device such as a computer or a special-purpose device such as a client, a server, and/or any other suitable device. Any such general-purpose computer or special-purpose computer can include any suitable hardware. For example, as illustrated in example hardware 200 of FIG. 2 , such hardware can include a hardware processor 202, memory and/or storage 201, an input device controller 206, an input device 208, display/audio drivers 210, display and/or audio output circuitry 212, communication interface(s) 214, an antenna 216, and a bus 218.

Hardware processor 202 can include any suitable hardware processor, such as a microprocessor, a micro-controller, digital signal processor, dedicated logic, and/or any other suitable circuitry for controlling the functioning of a general-purpose computer or special purpose computer in some embodiments.

Memory and/or storage 204 can be any suitable memory and/or storage for storing programs, data, metrics, and/or any other suitable information in some embodiments. For example, memory and/or storage 204 can include random access memory, read only memory, flash memory, hard disk storage, optical media, and/or any other suitable storage device.

Input device controller 206 can be any suitable circuitry for controlling and receiving input from one or more input devices 208 in some embodiments. For example, input device controller 206 can be circuitry for receiving input from a touch screen, from one or more buttons, from a voice recognition circuit, from a microphone, from a camera, from an optical sensor, from an accelerometer, from a temperature sensor, from a near field sensor, and/or any other suitable circuitry for receiving user input.

Display/audio drivers 210 can be any suitable circuitry for controlling and driving output to one or more display and/or audio output circuitries 212 in some embodiments. For example, display/audio drivers 210 can be circuitry for driving an LCD display, a speaker, an LED, and/or any other display/audio device.

Communication interface(s) 214 can be any suitable circuitry for interfacing with one or more communication networks, such as communication network 410 in some embodiments. For example, interface(s) 214 can include network interface card circuitry, wireless communication circuitry, and/or any other suitable circuitry for interfacing with one or more communication networks.

Antenna 216 can be any suitable one or more antennas for wirelessly communicating with a communication network in some embodiments. In some embodiments, antenna 216 can be omitted when not needed.

Bus 218 can be any suitable mechanism for communicating between two or more of components 202, 204, 206, 210, and 214 in some embodiments.

Any other suitable components can be included in hardware 200 in accordance with some embodiments.

Turning to FIG. 3 , an example 300 of a process for monitoring hosts in accordance with some embodiments is shown. Process 300 can be executed by any suitable device, and any suitable device can execute any suitable number of instances of process 300 in some embodiments. For example, a host device 112 (FIG. 1 ) can execute an instance of process 300 for each critical application running on the device in some embodiments. As another example, a host device 112 (FIG. 1 ) can execute an instance of process 300 for each virtual machine running on the device in some embodiments.

As illustrated, after process 300 begins, at 302, the process can connect to other hosts. These connections can be established in any suitable manner and can have any suitable characteristics. For example, these connections can be established as Transport Layer Security (TLS) connections in some embodiments.

Next, at 304, process 300 can generate a signature-verification key pair and send the verification key of the pair to the other hosts. Any suitable signature-verification key pair can be used in some embodiments. For example, in some embodiments, the signature-verification key pair can be a private-public key pair (e.g., such as an RSA key pair), wherein the signature key is a private key that is used to form a digital signature of an item using the signature key and the verification key is a public (or at least public to the other hosts) key that can be used to authenticate the digital signature of the item using the verification key.

Then, at 306, process 300 can generate and send a string to the other hosts. The string can be any suitable string, can have any suitable content, and can have any suitable length. For example, in some embodiments, the string can be binary and can have a length equal to a length needed for a key for any suitable pseudo random function (PRF) in some embodiments, and can be randomly (or pseudo-randomly) generated.

At 308, process 300 can next receive verification keys and strings from instances of process 300 running on others hosts. These verification keys and strings can be as described above in connection with 304 and 306 in some embodiments.

Next, at 310, process 300 can form a shared PRF key (SK) using the string generated at 306 and the strings received at 308. The shared PRF key can be formed using these strings in any suitable manner. For example, in some embodiments, the shared PRF key be formed by an XOR of the strings (i.e., the string generated at 306 and the strings received at 308). Because all instances of process 300 should be forming the shared PRF key from the same set of strings in the same manner, each instance should form the same shared PRF key in some embodiments.

Then, at 312, process 300 can set a round counter (RC) (i.e., a counter for counting rounds) and an expected round counter (ERC) (i.e., a counter for counting expected rounds) to zero and clear an early heartbeat (EHB) flag. The EHB flag can be used to indicate if an early heartbeat message was received as described further below.

At 314, process 300 can next determine whether the round counter is divisible by a diameter of a directed graph representing monitoring responsibilities of the hosts.

Any suitable directed graph can be used to represent the monitoring responsibilities of the hosts in some embodiments. For example, in some embodiments, a modified De Bruijn graph or a tree graph can be used to represent the monitoring responsibilities of the hosts. An example of a modified De Bruijn graph for eight hosts is shown in FIG. 4 . In a directed graph, each host can be represented by a vertex in the graph and each monitoring responsibility can be represented by an edge, where the tail of the edge is connected to the monitor (the host doing the monitoring) and the head of the edge is connected to the monitoree (the host being monitored). When the graph is implemented as a modified De Bruijn graph, the two vertices with addresses of all zeros and all ones can have edges pointing to each other rather the having edges that point to themselves as in a normal De Bruijn graph. As shown in the De Bruijn graph of FIG. 4 , each vertex is identified by a three-digit binary value and each vertex monitors two vertices and is monitored by two vertices. For example, vertex 000 monitors vertices 001 and 111 and is monitored by vertices 100 and 111.

The diameter of the graph can be any suitable value in some embodiments. For example, in some embodiments, the diameter of the graph can be determined by first identifying, for each pair of vertices in the graph, the smallest number of edges connecting the vertices in the direction of the edges as the distance between the vertices, and then by identifying the distance of the pair of vertices with the largest distance as the diameter of the graph.

The round counter can be determined as being divisible by the diameter of the graph when dividing the value of the round counter by the value of the diameter results in no remainder. Because zero is divisible by any number, when the round counter has a value of zero (e.g., when 314 is performed immediately after performing 312), the determination made at 314 will be “Yes”.

If it is determined at 314 that the round counter is divisible by the diameter of the graph, then, at 316, process 300 can determine, for each host, a new location of the host in the graph by evaluating the PRF using the shared PRF key (SK), the round counter (RC), and the host's identifier (e.g., a static identifier of the host). For example, the PRF may output a 000 for a first host indicating that the first host now occupies the left-most position in the graph of FIG. 4 and may output a 111 for a second host indicating that the second host now occupies the right-most position in the graph of FIG. 4 . Any suitable PRF can be used in some embodiments. For example, in some embodiments, the PRF can be Advanced Encryption Standard (AES) encryption.

Because the directed graph determines which hosts are monitoring which other hosts based on the edges between vertices, being assigned a new location (i.e., a new vertex) in the graph at 316 results in each host having a new set of other hosts that it is monitoring.

Then, at 317, process can determine new monitors for the present host and determine new monitorees for the present host based on the present host's position in the directed graph. For example, referring to FIG. 4 , if the present host is assigned position 000 in the graph, then it can determine that its monitors are the hosts associated with vertices 100 and 111 and that its monitorees are the hosts associated with vertices 001 and 111.

Next, at 318, process 300 can send to the host's new monitorees a rushing message indicating the value of RC. This rushing message can be sent in any suitable manner and can have any suitable format in some embodiments.

After 318, or if it is determined at 314 that the round counter is not divisible by the diameter of the graph, then, at 320, process 300 can send a signed message to the monitors that are monitoring the host. This message can be sent in any suitable manner, can have any suitable format, and can have any suitable content in some embodiments. For example, in some embodiments, the message can indicate the current value of RC and the identity of the host.

Also, at 320, in some embodiments, process 300 can forward to the monitors any heartbeat messages received from other hosts in the previous round. These heartbeat messages can be sent in any suitable manner in some embodiments. In some embodiments, only heartbeat messages that are directly received are forwarded.

Then, at 322, process 300 can determine if the round counter (RC) is greater than or equal to the expected round counter (ERC) and whether the early heartbeat (EHB) flag is clear. If so, process 300 can sleep at 324 for any suitable duration. For example, in some embodiments, process 300 can sleep until the elapsed time since the end of the last sleep session is equal the round interval time (the sleep time is adjusted for the time spent sending and receiving messages, and performing computations).

In some embodiments, while sleeping, process 300 can be awoken in response to a message indicating that another process being monitored by the host has stopped. This other process can be any suitable process and any suitable message can be sent. For example, in some embodiments, the process can be a process started by the host and the message can be a SIGCHLD message. If it is determined that the other process has stopped, process 300 can generate an alert message in some embodiments. This alert message can be sent in any suitable manner, have any suitable format, and contain any suitable content. For example, in some embodiments, an alert message can indicate a possible attack on the other process and can be broadcast to all hosts.

After process 300 completes sleeping at 324, or if process 300 determines at 322 that the round counter (RC) is not greater than or equal to the expected round counter (ERC) or that the early heartbeat (EHB) flag is not clear, then at 330, process 300 can receive messages from the other hosts. Any suitable messages can be received in some embodiments. For example, these messages can be signed messages and forwarded heartbeat messages sent at 320 by other instances of process 300 executing on the other hosts.

Next, at 332, process 300 can determine whether an invalid message has been received. This determination can be made in any suitable manner in some embodiments. For example, if a signature on a signed message is invalid, then the signed message can be determined to be invalid in some embodiments. As another example, in some embodiments, if a round counter indicated in a signed message is less than the host's round counter, then the signed message can be determined to be invalid in some embodiments. As yet another example, if forwarded heartbeat messages have an invalid signature, have a round counter less than the host's round counter, or come from the wrong host, then the heartbeat messages can be determined to be invalid in some embodiments. Note that since the forwarding host received the heartbeat messages from the previous round, process 300 can determine the expected identities of the hosts according to the view of the graph from the previous round in some embodiments.

If it is determined at 332 that a message is invalid, then, at 334, process 300 can generate an alert message in some embodiments. This alert message can be sent in any suitable manner, have any suitable format, and contain any suitable content. For example, in some embodiments, an alert message can indicate a possible attack on the source of the message(s) and can be broadcast to all hosts.

After sending the alert at 334, or if no message is determined to be invalid at 332, at 336, process 300 can determine if there is an early heartbeat (EHB) message. This determination can be made in any suitable manner in some embodiments. For example, if process 300 receives an unexpected heartbeat message at 330, the heartbeat message can be determined to be an early heartbeat (EHB) message.

If it is determined at 336 that there is an early heartbeat message, then, at 338, process 300 can set an early heartbeat (EHB) flag at 338. This flag can be set in any suitable manner in some embodiments.

After setting the EHB flag at 338, or if it is determined that there was no early heartbeat at 336, at 340, process 300 can determine whether a rushing message with a round number that is greater than the expected round counter (ERC) has been received. If so, at 342, process 300 can set the expected round counter equal to the value of the round counter in the rushing message.

After setting the ERC at 342, or determining that no rushing message with a round number that is greater than the expected round counter (ERC) has been received, then, at 344, process 300 can determine whether a period for receiving messages has timed out. This determination can be made in any suitable manner. For example, in some embodiments, the time period for receiving messages can be the round interval plus a grace period of one second by default, or the default value multiplied by one plus the maximum outdegree of all vertices in the graph, if the round counter is divisible by the diameter.

If it is determined at 344 that the period for receiving messages has not timed out, then process can loop back to 330. Otherwise, process 300 can branch to 346 and determine whether there are any missing messages. For example, if a signed message or a heartbeat message from another instance of process 300 being executed on another host is not received, that message can be determined to be missing.

If process 300 determines at 346 that a message is missing, the process can generate an alert message at 348 in some embodiments. This alert message can be sent in any suitable manner, have any suitable format, and contain any suitable content. For example, in some embodiments, an alert message can indicate a possible attack on the source of the message(s) and can be broadcast to all hosts.

After sending an alert message at 348, or if it is determined at 346 that no message is missing, then process 300 can increment the round counter at 350 and loop back to 314.

It should be noted that the above steps of the process of FIG. 3 can be executed or performed in any order or sequence not limited to the order and sequence shown and described in FIG. 3 . Also, some of the above steps of the process of FIG. 3 can be executed or performed substantially simultaneously where appropriate or in parallel to reduce latency and processing times. Furthermore, it should be noted that the process of FIG. 3 is provided as an example only. At least some of the steps shown in this figure may be performed in a different order than represented, performed concurrently, or altogether omitted.

In some embodiments, any suitable computer readable media can be used for storing instructions for performing the processes described herein. For example, in some embodiments, computer readable media can be transitory or non-transitory. For example, non-transitory computer readable media can include non-transitory media such as non-transitory magnetic media (such as hard disks, floppy disks, and/or any other suitable media), non-transitory optical media (such as compact discs, digital video discs, Blu-ray discs, and/or any other suitable optical media), non-transitory semiconductor media (such as flash memory, electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), and/or any other suitable semiconductor media), any suitable media that is not fleeting or devoid of any semblance of permanence during transmission, and/or any suitable tangible media. As another example, transitory computer readable media can include signals on networks, in wires, conductors, optical fibers, circuits, any suitable media that is fleeting and devoid of any semblance of permanence during transmission, and/or any suitable intangible media.

The provision of the examples described herein (as well as clauses phrased as “such as,” “e.g.,” “including,” and the like) should not be interpreted as limiting the claimed subject matter to the specific examples; rather, the examples are intended to illustrate only some of many possible aspects.

Although the disclosed subject matter has been described and illustrated in the foregoing illustrative embodiments, the present disclosure has been made only by way of example, and numerous changes in the details of implementation of the disclosed subject matter can be made without departing from the spirit and scope of the disclosed subject matter, which is limited only by the claims that follow. Features of the disclosed embodiments can be combined and rearranged in various ways. 

What is claimed is:
 1. A system for defending a computing system from attack, comprising: a memory; and a hardware processor coupled to the memory and configured to execute a local host that is configured to: maintain a round counter that tracks a round number; determine whether the round counter is divisible by a diameter of a graph identifying each of a plurality of hosts including the local host; in response to determining that the round counter is divisible by the diameter of the graph, determine a location in the graph for each of the plurality of hosts including the local host; determine monitor hosts of the plurality of hosts that are monitoring the local host; determine monitoree hosts of the plurality of hosts that are being monitored by the local host; send a message to each of the monitor hosts identifying a value of the round counter; forward a first set of heartbeat messages previously sent from-one or more of the monitoree hosts to the monitor hosts; attempt to receive messages from the monitoree hosts; determine whether any messages were not received from the monitoree hosts; and in response to determining that one or more messages were not received from the monitoree hosts, generate an alert.
 2. The system of claim 1, wherein the directed graph is a DeBruijn graph.
 3. The system of claim 1, wherein the location in the graph for each of a plurality of hosts is determined using a pseudo-random function.
 4. The system of claim 3, wherein the location in the graph for each of a plurality of hosts is determined using the pseudo-random function based on a shared key, the round counter, and an identifier for each of the plurality of hosts.
 5. The system of claim 1, wherein the message sent to each of the monitor hosts identifying a value of the round counter is signed.
 6. The system of claim 1, wherein the hardware processor is configured to generate an alert in response to determining whether any received messages are invalid.
 7. The system of claim 1, wherein the hardware processor is configured to determine whether any heartbeat messages were received early.
 8. A method for defending a computing system from attack, comprising: maintaining a round counter that tracks a round number for a local host using a hardware processor; determining whether the round counter is divisible by a diameter of a graph identifying each of a plurality of hosts including the local host; in response to determining that the round counter is divisible by the diameter of the graph, determining a location in the graph for each of the plurality of hosts including the local host using the hardware processor; determining monitor hosts of the plurality of hosts that are monitoring the local host using the hardware processor; determining monitoree hosts of the plurality of hosts that are being monitored by the local host using the hardware processor; sending a message to each of the monitor hosts identifying a value of the round counter using the hardware processor; forwarding a first set of heartbeat messages from one or more of the monitoree hosts to the monitor hosts using the hardware processor; attempting to receive messages from the monitoree hosts using the hardware processor; determining whether any messages were not received from the monitoree hosts using the hardware processor; and in response to determining that one or more messages were not received from the monitoree hosts, generating an alert using the hardware processor.
 9. The method of claim 8, wherein the directed graph is a DeBruijn graph.
 10. The method of claim 8, wherein the location in the graph for each of a plurality of hosts is determined using a pseudo-random function.
 11. The method of claim 10, wherein the location in the graph for each of a plurality of hosts is determined using the pseudo-random function based on a shared key, the round counter, and an identifier for each of the plurality of hosts.
 12. The method of claim 8, wherein the message sent to each of the monitor hosts identifying a value of the round counter is signed.
 13. The method of claim 8, further comprising generating an alert in response to determining whether any received messages are invalid.
 14. The method of claim 8, further comprising determining whether any heartbeat messages were received early.
 15. A non-transitory computer-readable medium containing computer-executable instructions that, when executed by a processor, cause the processor to perform a method for defending a computing system from attack, the method comprising: maintaining a round counter that tracks a round number for a local host; determining whether the round counter is divisible by a diameter of a graph identifying each of a plurality of hosts including the local host; in response to determining that the round counter is divisible by the diameter of the graph, determining a location in the graph for each of the plurality of hosts including the local host; determining monitor hosts of the plurality of hosts that are monitoring the local host; determining monitoree hosts of the plurality of hosts that are monitored by the local host; sending a message to each of the monitor hosts identifying a value of the round counter; forwarding a first set of heartbeat messages from one or more of the monitoree hosts to the monitor hosts; attempting to receive messages from the monitoree hosts; determining whether any messages were not received from the monitoree hosts; and in response to determining that one or more messages were not received from the monitoree hosts, generating an alert.
 16. The non-transitory computer-readable medium of claim 15, wherein the directed graph is a DeBruijn graph.
 17. The non-transitory computer-readable medium of claim 15, wherein the location in the graph for each of a plurality of hosts is determined using a pseudo-random function.
 18. The non-transitory computer-readable medium of claim 17, wherein the location in the graph for each of a plurality of hosts is determined using the pseudo-random function based on a shared key, the round counter, and an identifier for each of the plurality of hosts.
 19. The non-transitory computer-readable medium of claim 15, wherein the message sent to each of the monitor hosts identifying a value of the round counter is signed.
 20. The non-transitory computer-readable medium of claim 15, wherein the method further comprises generating an alert in response to determining whether any received messages are invalid. 